package GUI;

import javax.swing.JPanel;

import java.awt.Color;

import javax.swing.JButton;

import java.awt.Font;
import java.awt.event.ActionListener;

/**
 * The Class SalesManGUI.
 * Boundary for sales man activities.
 */
public class SalesManGUI extends JPanel {
	
	/** The button make offer. */
	private JButton btnMakeOffer;
	/**
	 * Create the panel.
	 */
	public SalesManGUI() {
		setBackground(Color.MAGENTA);
		setLayout(null);
		
		btnMakeOffer = new JButton("Make offer");
		btnMakeOffer.setFont(new Font("Tahoma", Font.PLAIN, 11));
		btnMakeOffer.setBounds(149, 104, 155, 49);
		add(btnMakeOffer);

	}
	
	/**
	 * Adds action listener to make offer button.
	 *
	 * @param listener the listener
	 */
	public void addMakeOfferListener(ActionListener listener)
	{
		btnMakeOffer.addActionListener(listener);
	}
	
}
